package com.atguigu.mvc.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author : zzf
 * @date : 2021/1/6
 */

@Controller
@RequestMapping("/hello")
public class HelloWorld {
    @RequestMapping("/world")
    public String helloWorld(){
        System.out.println("哈哈！我接收到浏览器的请求啦！");
        return "target";
    }
}
